#submenu {
background: #6197C9;
height: 30px;
line-height: 30px;
}

#submenu ul {
list-style-type: none;
margin: 0;
padding-left: 0px;
}
#submenu ul li {
display: block;
float: left;
}
#submenu ul li a {
display: block;
padding: 0 10px 0 10px;
text-decoration: none;
color: #fff;
font-size: 13px;
font-weight: 600;
}
#submenu ul li a:hover {
color: #fff;
background: #DC7E80;
}

#msgbloc {
margin: 20px;
border-width: 2px;
border-color: black;
border-style: solid;
border-bottom-width: 1px;
}

#msgbloc .line {
background: #7EC0AD;
height: 34px;
line-height: 34px;
border-bottom-width: 1px;
border-bottom-style:solid;
}

#msgbloc  .first{
background: #4E9882;
}

#msgbloc .line .msglength {
display: inline;
width: 20px;
float: right;
text-align: center;
border-left-width: 1px;
border-left-style:solid;
}

#msgbloc .line .subject {
display: inline;
float: left;
padding: 0 10px;
border-left-width: 1px;
border-left-style:solid;
}

#msgbloc .line .author {
display: inline;
width: 200px;
height: 35px;
float: left;
padding: 0 10px;
}

#msgbloc .line .author  a img {
border: none;
height: 30px;
width: 90px;
vertical-align: middle;
position: relative;
top: -2px;
margin-right: 5px;
}

#msgbloc .line .msgdate {
display: inline;
width: 70px;
padding: 0 5px;
float: right;
text-align: center;
border-left-width: 1px;
border-left-style:solid;
}

#msgbloc .line .msgtools {
display: inline;
width: 40px;
float: right;
padding: 0 10px;
border-left-width: 1px;
border-left-style:solid;
}

#msgbloc h3 {
background: #2C2D2F;
height: 30px;
line-height: 30px;
font-weight: 600;
font-size: 14px;
margin: 0 0 0 0; padding: 0 0 0 10px; 
color: #F9F7ED;
}

#msgbloc .msg {
border-bottom-width: 1px;
border-bottom-style:solid;
}

#msgbloc .msgheader {
padding: 0 5px;
height: 30px;
background: #4E9882;
}

#msgbloc .msgheader .author {
float: left;
}

#msgbloc .msgheader .author  a img {
border: none;
height: 30px;
width: 90px;
vertical-align: middle;
margin-right: 5px;
}

#msgbloc .msgheader .date {
float: right;
}

#msgbloc .msgcontent {
background: #7EC0AD;
}

#msgtools {
background: #C5E3D9;
text-align: center;
padding: 20px;
}

#msgtools textarea {
width: 800px;
display: block;
margin: auto;
}

#msgtools input[type=submit] {
display: block;
margin: auto;
width: 70px;
margin-top: 20px;
}